um\core\Access D

Total Complexity 331
Dependencies 1
Dependents 1
Total lines 1,882
Lines of code 1,099
Logical lines of code 711
Comment lines 436
Methods 36
Properties 6

Methods 36

Method Rating Maintainability Complexity Lines of code
filter_protected_posts()
D
18
77 209
get_post_privacy_settings()
D
31 36 108
um_access_check_global_settings()
C
36 25 73
restrict_blocks()
C
38 25 69
exclude_posts_array()
B
33 17 112
is_restricted_term()
B
41 18 57
um_access_check_individual_term_settings()
A
44 15 39
is_restricted()
A
46 14 39
get_comment_count()
A
41 10 63
template_redirect()
A
50 12 28
filter_menu()
A
53 8 26
exclude_terms_array()
S
50 6 31
custom_count_posts_handler()
S
49 6 28
filter_post_thumbnail()
S
59 5 16
user_can()
S
61 5 12
exclude_hidden_terms_query()
S
64 5 9
filter_restricted_post_title()
S
61 4 13
disable_comments_open()
S
61 4 13
custom_comments_count_handler()
S
60 3 14
disable_comments_open_number()
S
62 3 13
__construct()
S
48 1 32
check_access()
S
67 3 9
exclude_posts()
S
65 3 9
exclude_posts_comments()
S
67 3 7
exclude_restricted_posts_widget()
S
66 3 8
woocommerce_template()
S
66 3 9
filter_attachment()
S
78 3 3
set_referer()
S
67 2 8
exclude_posts_comments_feed()
S
66 2 8
exclude_navigation_posts()
S
66 2 8
exclude_restricted_posts_archives_widget()
S
66 2 8
replace_post_content()
S
71 2 6
um_custom_restriction()
S
79 1 3
taxonomy_message()
S
81 1 3
replace_post_content_on()
S
78 1 3
replace_post_content_off()
S
78 1 3